<div class="userInfo">
    <div class="myInfo"> 
      <div class="photo">
        <php>$user=cmf_get_current_user();</php>
            <if condition="empty($user['avatar'])">
                <img src="__TMPL__/public/assets/images/headicon.png" width="80" height="80" />
                <else/>
                <img src="{:cmf_get_user_avatar_url($user['avatar'])}" width="80" height="80" />
            </if>
      </div>
      <div class="info-op">
      	<ul>
        	<li><i class="fa fa-edit fa-fw"></i> <a href="{:cmf_url('user/Profile/edit')}">修改资料</a></li>
        	<li><i class="fa fa-sign-out fa-fw"></i> <a href="{:cmf_url('user/Index/logout')}">安全退出</a></li>
            <li><i class="fa fa-user fa-fw"></i> <a href="javascript:void(0);" title="会员等级">{$configmember['rankinfo']['name']}</a></li>
        </ul>
      </div>
      <div style="clear:both"></div>
    </div>
    <p class="cost text-lg-center">您还差 575 积分达到 铜牌会员 </p>
</div>
<div class="navlist">
    <div class="list-group">
        <a class="list-group-item" href="javascript:;"><i class="fa fa-edit fa-fw"></i> 基本设置 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('user/Profile/edit')}">修改资料 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('user/Profile/password')}">修改密码 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('user/Profile/avatar')}">编辑头像 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('user/Profile/binding')}">绑定账号 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('user/favorite/index')}">我的收藏 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('user/comment/index')}">我的评论 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_plugin_url('SignIn://Index/index')}" target="_blank">积分签到 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('user/integral/index')}">积分记录 <i class="fa fa-angle-right"></i></a>
    </div>
    
    <div class="list-group">
        <a class="list-group-item" href="javascript:;"><i class="fa fa-exchange fa-fw"></i> 订单管理 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>109))}?act=member">订单列表 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>136))}?act=member">我的优惠券 <i class="fa fa-angle-right"></i></a>
    </div>
    
    <div class="list-group">
        <a class="list-group-item" href="javascript:;"><i class="fa fa-user fa-fw"></i> 扩展会员 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>16))}" target="_blank">在线留言 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>95))}" target="_blank">在线反馈 <i class="fa fa-angle-right"></i></a>
    </div>
    
    <div class="list-group">
        <a class="list-group-item" href="javascript:;"><i class="fa fa-star-o fa-fw"></i> 扩展商家 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>1))}?act=supplier&type=list">文章管理 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>3))}?act=supplier&type=list">产品管理 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>141))}?act=supplier&type=list">话题管理 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>145))}?act=supplier&type=list">内容模块 <i class="fa fa-angle-right"></i></a>
        <a class="list-group-item listmenu" href="{:cmf_url('portal/List/index',array('id'=>146))}?act=supplier&type=list">测试应用 <i class="fa fa-angle-right"></i></a>
    </div>
    
    <div class="list-group">
		<if condition="$configmember['supplier_status'] == 1">
        	<a class="list-group-item" href="/supplier.html?autologinok=1" target="_blank"><i class="fa fa-comments-o fa-fw"></i> 供应商后台 <i class="fa fa-angle-right"></i></a>
		<else>
			<a class="list-group-item" href="{:cmf_url('portal/List/index',array('id'=>124))}?act=member"><i class="fa fa-comments-o fa-fw"></i> 申请供应商 <i class="fa fa-angle-right"></i></a>
		</if>
    </div>
</div>